﻿using System.Collections.Generic;
using System.ComponentModel;
using System.Web.Services;
using KPIS.GERP.GFMS.IBLL;
using KPIS.GERP.GFMS.BLL;
using KPIS.GERP.GFMS.MODEL;

namespace KPIS.GERP.GFMS.SERVICE
{
    /// <summary>
    /// Summary description for FIM_MoneyReturnDtls
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class FIM_MoneyReturnDtls : System.Web.Services.WebService
    {
        IBLL_FIM_MoneyReturnDtls bll = new B_FIM_MoneyReturnDtls();

        [WebMethod]
        public List<M_FIM_MoneyReturnDtls> GetFull(string return_seq)
        {
            return (List<M_FIM_MoneyReturnDtls>)bll.GetFull(return_seq);
        }

        [WebMethod]
        public List<M_FIM_MoneyReturnDtls> GetMoneyReqDtls(string return_seq, string money_req_seq)
        {
            return (List<M_FIM_MoneyReturnDtls>)bll.GetMoneyReqDtls(return_seq, money_req_seq);
        }

        //[WebMethod]
        //public List<M_FIM_MAS_Currencies> GetCurrencyList(string money_req_seq)
        //{
        //    return (List<M_FIM_MAS_Currencies>)bll.GetCurrencyList(money_req_seq);
        //}

        [WebMethod]
        public List<M_FIM_MoneyReturnDtls> GetList(string return_seq)
        {
            return (List<M_FIM_MoneyReturnDtls>)bll.GetList(return_seq);
        }

        [WebMethod]
        public M_FIM_MoneyReturnDtls GetInfo(string seq)
        {
            return bll.GetInfo(seq);
        }

        [WebMethod]
        public void Insert(M_FIM_MoneyReturnDtls info)
        {
            bll.Insert(info);
        }

        [WebMethod]
        public void Update(M_FIM_MoneyReturnDtls info)
        {
            bll.Update(info);
        }

        [WebMethod]
        public void UpdateBathAmount(string return_dtls_seq, string bath_amount)
        {
            bll.UpdateBathAmount(return_dtls_seq, bath_amount);
        }

        [WebMethod]
        public void Delete(M_FIM_MoneyReturnDtls info)
        {
            bll.Delete(info);
        }
    }
}
